#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
#include "hashBucket.h"

void TestHash1()
{
	Hash<int, int> ha;
	int arr[] = { 12,4,7,8,2,22,5,13,45,1 };

	for (const auto& e : arr)
	{
		ha.insert(std::make_pair(e, e));
	}

	ha.insert(std::make_pair(33, 33));
	ha.insert(std::make_pair(53, 53));

	ha.erase(73);
	ha.erase(33);
	ha.erase(53);
	ha.erase(4);
	ha.erase(6);
}

int main()
{
	TestHash1();
	return 0;
}